﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SPlacardDefenderInfo extends Object
    {
        public var name:String;
        public var combat:int;
        public var time:int;
        public var id:SEntityId;

        public function SPlacardDefenderInfo()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeString(this.name);
            param1.writeInt(this.combat);
            param1.writeInt(this.time);
            this.id.__write(param1);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.name = param1.readString();
            this.combat = param1.readInt();
            this.time = param1.readInt();
            this.id = new SEntityId();
            this.id.__read(param1);
            return;
        }// end function

    }
}
